package ch02.t09;

/**
 * @author shun
 * @date 2022-10-21 21:21:19
 * @note 我之为也
 */
public class Vehicle {

        private  int car;
        private  int motorcycle;

        public int getCar() {
            return car;
        }

        public void setCar(int car) {
            this.car = car;
        }

        public int getMotorcycle() {
            return motorcycle;
        }

        public void setMotorcycle(int motorcycle) {
            this.motorcycle = motorcycle;
        }

        @Override
        public String toString() {
            return "Vehicle{" +
                    "car=" + car +
                    ", motorcycle=" + motorcycle +
                    '}';
        }
}
